package com.ynet.middleground.contract.dto;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author daigaole
 * @description 内管使用的合约日志传输对象
 * @date 2020-04-06
 */
@Data
@ApiModel(value = "内管使用的合约日志传输对象", description = "内管使用的合约日志传输对象")
public class PortContractLogDTO implements Serializable {

    private static final long serialVersionUID = -7777528965774459458L;
    /**
     * 操作人账号
     */
    @ApiModelProperty(value = "操作人账号", notes = "操作人账号", dataType = "String")
    private String operatorAccount;

    /**
     * 操作人名称
     */
    @ApiModelProperty(value = "操作人名称", notes = "操作人名称", dataType = "String")
    private String operatorName;

    /**
     * 渠道
     */
    @ApiModelProperty(value = "渠道", notes = "渠道", dataType = "String")
    private String channel;

    /**
     * 服务提供方 e 签宝、CFCA
     */
    @ApiModelProperty(value = "服务提供方 e 签宝、CFCA", notes = "服务提供方 e 签宝、CFCA", dataType = "String")
    private String serviceProvider;

    /**
     * 调用服务名 文本签、协议签、存证、时间戳
     */
    @ApiModelProperty(value = "调用服务名 文本签、协议签、存证、时间戳", notes = "调用服务名 文本签、协议签、存证、时间戳", dataType = "String")
    private String serviceName;

    /**
     * 存证编码
     */
    @ApiModelProperty(value = "存证编码", notes = "存证编码", dataType = "String")
    private String evid;

    /**
     * 调用服务状态 1：失败，0：成功
     */
    @ApiModelProperty(value = "调用服务状态 1：失败，0：成功", notes = "调用服务状态 1：失败，0：成功", dataType = "String")
    private Boolean serviceStatus;

    /**
     * 合约名称
     */
    @ApiModelProperty(value = "合约名称", notes = "合约名称", dataType = "String")
    private String contractName;

    /**
     * 累计次数，当前人到当前操作执行次数
     */
    @ApiModelProperty(value = "累计次数，当前人到当前操作执行次数", notes = "累计次数，当前人到当前操作执行次数", dataType = "Integer")
    private Integer totalize;

    /**
     * 服务请求信息
     */
    @ApiModelProperty(value = "服务请求信息", notes = "服务请求信息", dataType = "Integer")
    private String requestMsg;

    /**
     * 服务响应信息
     */
    @ApiModelProperty(value = "服务响应信息", notes = "服务响应信息", dataType = "Integer")
    private String responseMsg;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", notes = "创建时间", dataType = "Date")
    private Date gmtCreate;

    /**
     * 创建者
     */
    @ApiModelProperty(value = "创建者", notes = "创建者", dataType = "Integer")
    private Integer createBy;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间", notes = "更新时间", dataType = "Date")
    private Date gmtModified;

    /**
     * 更新者
     */
    @ApiModelProperty(value = "更新者", notes = "更新者", dataType = "Integer")
    private Integer modifiedBy;

    /**
     * 业务场景描述
     */

    @ApiModelProperty(value = "业务场景描述", notes = "业务场景描述", dataType = "String")
    private String sceneDesc;

}
